projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
690e710
)
x86_emulate: Fix IMUL r/m8 emulation.
author
Keir Fraser
<keir.fraser@citrix.com>
Thu, 7 Feb 2008 19:30:36 +0000
(19:30 +0000)
committer
Keir Fraser
<keir.fraser@citrix.com>
Thu, 7 Feb 2008 19:30:36 +0000
(19:30 +0000)
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/arch/x86/x86_emulate.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/x86_emulate.c
b/xen/arch/x86/x86_emulate.c
index 32a11b6be4451378d55bda776c61c544696f704a..b240a0a48ec7f1bf90c3970746d1f36149c03b1a 100644
(file)
--- a/
xen/arch/x86/x86_emulate.c
+++ b/
xen/arch/x86/x86_emulate.c
@@
-1755,6
+1755,7
@@
x86_emulate(
(uint16_t)(int8_t)dst.val);
if ( (int8_t)dst.val != (uint16_t)dst.val )
_regs.eflags |= EFLG_OF|EFLG_CF;
+ dst.bytes = 2;
break;
case 2:
dst.val = ((uint32_t)(int16_t)src.val *